package com.hightrast.service.api.domain.qo.rastUserBank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode
@ApiModel(value="用户支付信息绑定")
public class SaveUpdateUserBankQo {

    @ApiModelProperty(value = "绑定的用户")
    @NotNull(message = "User ID cannot be empty")
    private Long userId;

    @ApiModelProperty(value = "银行账号")
    @NotEmpty(message = "Bank account cannot be empty")
    private String bankAccount;

    @ApiModelProperty(value = "银行类型,1-WireTransfer,2-PayPal")
    @NotNull(message = "Payment type cannot be empty")
    private Integer bankType;

    @ApiModelProperty(value = "收款人名字")
    private String beneficiaryName;

    @ApiModelProperty(value = "银行名字")
    private String bankName;

    @ApiModelProperty(value = "银行地址")
    private String bankAddress;

    @ApiModelProperty(value = "code")
    private String swiftCode;

    @ApiModelProperty(value = "userName")
    private String userName;

    @ApiModelProperty(value = "vendor")
    private String vendor;

    @ApiModelProperty(value = "vendorId")
    private String vendorId;

    @ApiModelProperty(value = "产品描述")
    private String remark;

    @ApiModelProperty(value = "email")
    private String email;

    @ApiModelProperty(value = "avatarUrl")
    private String avatarUrl;

}
